<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<tiles:insertTemplate template="admin-menu.jsp">
	<tiles:putAttribute name="body">
<div>
<h1>Baner</h1>
<form action="setAnnouncement.action" method="post">
<s:textarea name="announcement" label="tresc" cols="400" rows="10">
</s:textarea>
<s:submit></s:submit>
</form>
<h1>Promocja premium (trwa do <s:property value="@pl.un4giv3n.mightvsmagic.admin.action.PremiumBonusHolder@getPremiumEndDate()"/>)</h1>
<form action="setPremiumBonusEnd.action"  method="post">
<sx:datetimepicker name="premiumBonusEnd" label="Format (dd-MMM-yyyy)" 
displayFormat="dd-MMM-yyyy"/>
<s:submit></s:submit>
</form>

</div>
<div class="infobox">
			<div>
			<h3>Zmiana hasła</h3>
			Aby zmienić hasło wypełnij poniższe pola
			</div>
			<div>
				<s:form action="changePassword.action">
					<s:password label="Stare hasło" name="oldPassword"/>
					<s:password label="Nowe hasło" name="newPassword"/>
					<s:password label="Powtórz nowe hasło" name="newRetyped"/>
					<s:submit value="Zmień"/>
				</s:form>
			</div>
		</div>
	</tiles:putAttribute>
</tiles:insertTemplate>